@use "sass:math";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.clear:after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

.clear {
    zoom: 1;
}

body {
    margin: 0 auto;
}

li {
    list-style: none;
    // overflow: hidden;
}

a {
    text-decoration: none;
}

.site-nav {
    z-index: 10000;
    width: 100%;
    background: #f5f5f5;
    border-bottom: 1px solid #eee;
    height: 36px;
    // position: relative;
    .site-nav-bd {
        background: #f5f5f5;
        width: 990px;
        height: 35px;
        margin: 0 auto;
        .site-nav-bd-1 {
            .menu {
                float: left;
                padding: 0 6px;
                line-height: 35px;
                a:nth-child(1) {
                    margin-right: 7px;
                    font-size: 12px;
                    color: #f22e00;
                }
                a:nth-child(2) {
                    margin-right: 7px;
                    font-size: 12px;
                    color: #6C6C6C;
                }
            }
            .menu-mobile {
                a {
                    font-size: 12px;
                    margin-right: 7px;
                    color: #6c6c6c;
                }
                float: left;
                line-height: 35px;
                padding-left: 20px;
            }
        }
        .site-nav-bd-2 {
            position: relative;
            float: right;
            .menu-home {
                height: 35px;
                float: left;
            }
            .menu-hd {
                float: left;
                margin-right: 7px;
                font-size: 12px;
                line-height: 35px;
                a {
                    color: #f22e00;
                }
            }
            .menu-my-taobao {
                &:hover {
                    background-color: #FFF;
                    .menu-bd-panel {
                        display: block;
                    }
                }
                float: left;
                position: relative;
                // height: 35px;
                .menu-taobao {
                    margin-left: 10px;
                    float: left;
                    font-size: 12px;
                    a {
                        color: #f22e00;
                        line-height: 35px;
                    }
                    span {
                        font-size: 1px;
                        color: #6C6C6C;
                    }
                }
                .menu-bd-panel {
                    z-index: 100;
                    width: 100px;
                    position: absolute;
                    left: 0;
                    top: 35px;
                    display: none;
                    line-height: normal;
                    border: 1px solid #EEE;
                    background: #FFF;
                    text-align: center;
                    padding: 2px;
                    a {
                        font-size: 12px;
                        padding: 0 5px;
                        line-height: 28px;
                        white-space: nowrap;
                        color: #6C6C6C;
                    }
                }
            }
            .daohanglan {
                &:hover {
                    background-color: #FFF;
                    .daohang {
                        display: block;
                    }
                }
            }
            li {
                float: left;
                margin-right: 20px;
                font-size: 12px;
                color: #6C6C6C;
                line-height: 35px;
                a {
                    color: #6C6C6C;
                }
                span {
                    font-size: 1px;
                    color: #6C6C6C;
                }
                .daohang {
                    display: none;
                    position: absolute;
                    top: 35px;
                    left: -521px;
                    background-color: #FFF;
                    width: 1190px;
                    // height: 380px;
                    z-index: 10000;
                    .daoone {
                        h3 {
                            color: orangered;
                        }
                        // height: 380px;
                        padding: 10px 50px;
                        border-right: 1px solid gray;
                        float: left;
                        width: 290px;
                    }
                    .daoone:nth-child(4) {
                        border: 0;
                    }
                }
            }
            .menu-sc {
                &:hover {
                    background-color: #FFF;
                    .menu-bd-panel {
                        display: block;
                    }
                }
                position: relative;
                .menu-bd-panel {
                    z-index: 100;
                    width: 70px;
                    position: absolute;
                    left: 0;
                    top: 35px;
                    display: none;
                    line-height: normal;
                    border: 1px solid #EEE;
                    background: #FFF;
                    text-align: center;
                    a {
                        font-size: 12px;
                        padding: 0 5px;
                        line-height: 28px;
                        white-space: nowrap;
                        color: #6C6C6C;
                    }
                }
            }
            .menu-m {
                &:hover {
                    background-color: #FFF;
                    .menu-bd-panel {
                        display: block;
                    }
                }
                position: relative;
                .menu-bd-panel {
                    z-index: 100;
                    width: 70px;
                    position: absolute;
                    left: -5px;
                    top: 35px;
                    display: none;
                    line-height: normal;
                    border: 1px solid #EEE;
                    background: #FFF;
                    text-align: center;
                    a {
                        font-size: 12px;
                        padding: 0 5px;
                        line-height: 28px;
                        white-space: nowrap;
                        color: #6C6C6C;
                    }
                }
            }
            .menu-l {
                &:hover {
                    background-color: #FFF;
                    .menu-bd-panel {
                        display: block;
                    }
                }
                position: relative;
                .menu-bd-panel {
                    z-index: 100;
                    width: 70px;
                    position: absolute;
                    left: 0;
                    top: 35px;
                    display: none;
                    line-height: normal;
                    border: 1px solid #EEE;
                    background: #FFF;
                    text-align: center;
                    a {
                        font-size: 12px;
                        padding: 0 5px;
                        line-height: 28px;
                        white-space: nowrap;
                        color: #6C6C6C;
                    }
                }
            }
        }
    }
}

.content {
    width: 990px;
    margin: 0 auto;
    .header {
        padding: 20px 0 40px;
        position: relative;
        height: 35px;
        h1 {
            width: 140px;
            font-size: 40px;
            float: left;
            color: orangered;
        }
        span {
            font-size: 30px;
        }
    }
    .j_cat {
        min-height: 400px;
        .cat1 {
            position: relative;
            overflow: hidden;
            font-size: 12px;
            .catul {
                margin-top: 40px;
                overflow: hidden;
                height: 33px;
                border-bottom: 1px solid #3c3c3c;
                li {
                    float: left;
                    font-weight: 700;
                    font-size: 16px;
                    height: 16px;
                    line-height: 1.1;
                    font-family: 'Hiragino Sans GB', 'Lantinghei SC', 'Microsoft Yahei', SimSun;
                    text-align: center;
                    padding: 0 0 15px 0;
                    cursor: pointer;
                    margin-left: -1px;
                    margin-right: 40px;
                }
            }
            .catsum {
                position: absolute;
                right: 0;
                top: 40px;
                height: 25px;
                line-height: 25px;
                button {
                    width: 54px;
                    height: 25px;
                    color: white;
                    background-color: #6c6c6c;
                }
            }
        }
        .cart-table-th {
            // overflow: hidden;
            height: 50px;
            line-height: 50px;
            color: #3c3c3c;
            .cartcheck {
                float: left;
                font-size: 12px;
                .check {
                    margin-right: 100px;
                }
            }
            .prices {
                float: right;
                .prul {
                    margin-right: 40px;
                    li {
                        float: left;
                        padding: 0 0 0 80px;
                        font-size: 12px;
                    }
                }
            }
        }
    }
    .orderlist {
        .cart_list {
            font-size: 12px;
            border-top: 1px solid #e9e9e9;
            padding: 10px 0px;
            display: flex;
            align-items: center;
            .checks {
                margin-left: 30px;
                margin-right: 30px;
            }
            .cart_sp {
                display: flex;
                margin-left: 20px;
                img {
                    width: 80px;
                    height: 80px;
                }
                .cart_spname {
                    padding-left: 20px;
                    padding-top: 5px;
                    width: 300px;
                }
            }
            .cart_dj {
                margin-left: 70px;
                width: 80px;
                text-align: center;
            }
            .cart_sl {
                display: flex;
                margin-left: 36px;
                .down {
                    font-size: 30px;
                    width: 30px;
                    height: 30px;
                    text-align: center;
                    line-height: 30px;
                    background: #e2231a;
                    color: #f3f3f3;
                    cursor: pointer;
                }
                .buynum {
                    width: 30px;
                    height: 30px;
                    border: none;
                    border-top: 1px solid #e2231a;
                    border-bottom: 1px solid #e2231a;
                    text-align: center;
                }
                .add {
                    font-size: 30px;
                    width: 30px;
                    height: 30px;
                    text-align: center;
                    line-height: 30px;
                    background: #e2231a;
                    color: #f3f3f3;
                    cursor: pointer;
                }
            }
            .cart_xj {
                margin-left: 50px;
                width: 80px;
                text-align: center;
            }
            .del {
                cursor: pointer;
                margin-left: 50px;
                width: 80px;
                text-align: center;
            }
        }
    }
}